package com.teafriend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @author 欧楚杨
 * @TableName teafriend
 */
@TableName(value ="teafriend")
@Data
@ApiModel(value = "茶友实体类")
public class Teafriend implements Serializable {
    /**
     * 茶友号
     */
    @ApiModelProperty(value = "茶友id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 茶友账号
     */
    @ApiModelProperty(value = "茶友账号")
    private String username;

    /**
     * 茶友密码
     */
    @ApiModelProperty(value = "茶友密码")
    private String userpwd;

    /**
     * 茶友生日日期
     */
    @ApiModelProperty(value = "茶友生日日期")
    private Date birthday;

    /**
     * 茶友积分
     */
    @ApiModelProperty(value = "茶友积分")
    private Integer score;

    /**
     * 茶友信息
     */
    @ApiModelProperty(value = "茶友信息")
    private String info;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}